\(\int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx\) [451]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [C] (verification not implemented)
   Sympy [F(-1)]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 25, antiderivative size = 414 \[ \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx=-\frac {3 a^{5/2} \arctan \left (1-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right ) \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}}{4 \sqrt {2} \sqrt {b} f}+\frac {3 a^{5/2} \arctan \left (1+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right ) \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}}{4 \sqrt {2} \sqrt {b} f}+\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{8 \sqrt {2} \sqrt {b} f}-\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{8 \sqrt {2} \sqrt {b} f}-\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}} \]

[Out]

-1/2*a*b*(a*sin(f*x+e))^(3/2)/f/(b*sec(f*x+e))^(1/2)-3/8*a^(5/2)*arctan(1-2^(1/2)*b^(1/2)*(a*sin(f*x+e))^(1/2)
/a^(1/2)/(b*cos(f*x+e))^(1/2))*(b*cos(f*x+e))^(1/2)*(b*sec(f*x+e))^(1/2)/f*2^(1/2)/b^(1/2)+3/8*a^(5/2)*arctan(
1+2^(1/2)*b^(1/2)*(a*sin(f*x+e))^(1/2)/a^(1/2)/(b*cos(f*x+e))^(1/2))*(b*cos(f*x+e))^(1/2)*(b*sec(f*x+e))^(1/2)
/f*2^(1/2)/b^(1/2)+3/16*a^(5/2)*ln(a^(1/2)-2^(1/2)*b^(1/2)*(a*sin(f*x+e))^(1/2)/(b*cos(f*x+e))^(1/2)+a^(1/2)*t
an(f*x+e))*(b*cos(f*x+e))^(1/2)*(b*sec(f*x+e))^(1/2)/f*2^(1/2)/b^(1/2)-3/16*a^(5/2)*ln(a^(1/2)+2^(1/2)*b^(1/2)
*(a*sin(f*x+e))^(1/2)/(b*cos(f*x+e))^(1/2)+a^(1/2)*tan(f*x+e))*(b*cos(f*x+e))^(1/2)*(b*sec(f*x+e))^(1/2)/f*2^(
1/2)/b^(1/2)

Rubi [A] (verified)

Time = 0.23 (sec) , antiderivative size = 414, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.360, Rules used = {2663, 2665, 2654, 303, 1176, 631, 210, 1179, 642} \[ \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx=-\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)} \arctan \left (1-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right )}{4 \sqrt {2} \sqrt {b} f}+\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)} \arctan \left (\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}+1\right )}{4 \sqrt {2} \sqrt {b} f}+\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)} \log \left (-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)+\sqrt {a}\right )}{8 \sqrt {2} \sqrt {b} f}-\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)} \log \left (\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)+\sqrt {a}\right )}{8 \sqrt {2} \sqrt {b} f}-\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}} \]

[In]

Int[Sqrt[b*Sec[e + f*x]]*(a*Sin[e + f*x])^(5/2),x]

[Out]

(-3*a^(5/2)*ArcTan[1 - (Sqrt[2]*Sqrt[b]*Sqrt[a*Sin[e + f*x]])/(Sqrt[a]*Sqrt[b*Cos[e + f*x]])]*Sqrt[b*Cos[e + f
*x]]*Sqrt[b*Sec[e + f*x]])/(4*Sqrt[2]*Sqrt[b]*f) + (3*a^(5/2)*ArcTan[1 + (Sqrt[2]*Sqrt[b]*Sqrt[a*Sin[e + f*x]]
)/(Sqrt[a]*Sqrt[b*Cos[e + f*x]])]*Sqrt[b*Cos[e + f*x]]*Sqrt[b*Sec[e + f*x]])/(4*Sqrt[2]*Sqrt[b]*f) + (3*a^(5/2
)*Sqrt[b*Cos[e + f*x]]*Log[Sqrt[a] - (Sqrt[2]*Sqrt[b]*Sqrt[a*Sin[e + f*x]])/Sqrt[b*Cos[e + f*x]] + Sqrt[a]*Tan
[e + f*x]]*Sqrt[b*Sec[e + f*x]])/(8*Sqrt[2]*Sqrt[b]*f) - (3*a^(5/2)*Sqrt[b*Cos[e + f*x]]*Log[Sqrt[a] + (Sqrt[2
]*Sqrt[b]*Sqrt[a*Sin[e + f*x]])/Sqrt[b*Cos[e + f*x]] + Sqrt[a]*Tan[e + f*x]]*Sqrt[b*Sec[e + f*x]])/(8*Sqrt[2]*
Sqrt[b]*f) - (a*b*(a*Sin[e + f*x])^(3/2))/(2*f*Sqrt[b*Sec[e + f*x]])

Rule 210

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^(-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])
], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 303

Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[a/b, 2]], s = Denominator[Rt[a/b, 2]]},
Dist[1/(2*s), Int[(r + s*x^2)/(a + b*x^4), x], x] - Dist[1/(2*s), Int[(r - s*x^2)/(a + b*x^4), x], x]] /; Free
Q[{a, b}, x] && (GtQ[a/b, 0] || (PosQ[a/b] && AtomQ[SplitProduct[SumBaseQ, a]] && AtomQ[SplitProduct[SumBaseQ,
 b]]))

Rule 631

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[a*(c/b^2)]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b)], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 642

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[d*(Log[RemoveContent[a + b*x +
c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 1176

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[2*(d/e), 2]}, Dist[e/(2*c), Int[1/S
imp[d/e + q*x + x^2, x], x], x] + Dist[e/(2*c), Int[1/Simp[d/e - q*x + x^2, x], x], x]] /; FreeQ[{a, c, d, e},
 x] && EqQ[c*d^2 - a*e^2, 0] && PosQ[d*e]

Rule 1179

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[-2*(d/e), 2]}, Dist[e/(2*c*q), Int[
(q - 2*x)/Simp[d/e + q*x - x^2, x], x], x] + Dist[e/(2*c*q), Int[(q + 2*x)/Simp[d/e - q*x - x^2, x], x], x]] /
; FreeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && NegQ[d*e]

Rule 2654

Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> With[{k = Denomina
tor[m]}, Dist[k*a*(b/f), Subst[Int[x^(k*(m + 1) - 1)/(a^2 + b^2*x^(2*k)), x], x, (a*Sin[e + f*x])^(1/k)/(b*Cos
[e + f*x])^(1/k)], x]] /; FreeQ[{a, b, e, f}, x] && EqQ[m + n, 0] && GtQ[m, 0] && LtQ[m, 1]

Rule 2663

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Simp[(-a)*b*(a*Sin
[e + f*x])^(m - 1)*((b*Sec[e + f*x])^(n - 1)/(f*(m - n))), x] + Dist[a^2*((m - 1)/(m - n)), Int[(a*Sin[e + f*x
])^(m - 2)*(b*Sec[e + f*x])^n, x], x] /; FreeQ[{a, b, e, f, n}, x] && GtQ[m, 1] && NeQ[m - n, 0] && IntegersQ[
2*m, 2*n]

Rule 2665

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Dist[(b*Cos[e + f*
x])^n*(b*Sec[e + f*x])^n, Int[(a*Sin[e + f*x])^m/(b*Cos[e + f*x])^n, x], x] /; FreeQ[{a, b, e, f, m, n}, x] &&
 IntegerQ[m - 1/2] && IntegerQ[n - 1/2]

Rubi steps \begin{align*} \text {integral}& = -\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}}+\frac {1}{4} \left (3 a^2\right ) \int \sqrt {b \sec (e+f x)} \sqrt {a \sin (e+f x)} \, dx \\ & = -\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}}+\frac {1}{4} \left (3 a^2 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \int \frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}} \, dx \\ & = -\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}}+\frac {\left (3 a^3 b \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {x^2}{a^2+b^2 x^4} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{2 f} \\ & = -\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}}-\frac {\left (3 a^3 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {a-b x^2}{a^2+b^2 x^4} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{4 f}+\frac {\left (3 a^3 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {a+b x^2}{a^2+b^2 x^4} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{4 f} \\ & = -\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}}+\frac {\left (3 a^3 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\frac {a}{b}-\frac {\sqrt {2} \sqrt {a} x}{\sqrt {b}}+x^2} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{8 b f}+\frac {\left (3 a^3 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\frac {a}{b}+\frac {\sqrt {2} \sqrt {a} x}{\sqrt {b}}+x^2} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{8 b f}+\frac {\left (3 a^{5/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt {a}}{\sqrt {b}}+2 x}{-\frac {a}{b}-\frac {\sqrt {2} \sqrt {a} x}{\sqrt {b}}-x^2} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{8 \sqrt {2} \sqrt {b} f}+\frac {\left (3 a^{5/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt {a}}{\sqrt {b}}-2 x}{-\frac {a}{b}+\frac {\sqrt {2} \sqrt {a} x}{\sqrt {b}}-x^2} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{8 \sqrt {2} \sqrt {b} f} \\ & = \frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{8 \sqrt {2} \sqrt {b} f}-\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{8 \sqrt {2} \sqrt {b} f}-\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}}+\frac {\left (3 a^{5/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right )}{4 \sqrt {2} \sqrt {b} f}-\frac {\left (3 a^{5/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right )}{4 \sqrt {2} \sqrt {b} f} \\ & = -\frac {3 a^{5/2} \arctan \left (1-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right ) \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}}{4 \sqrt {2} \sqrt {b} f}+\frac {3 a^{5/2} \arctan \left (1+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right ) \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}}{4 \sqrt {2} \sqrt {b} f}+\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{8 \sqrt {2} \sqrt {b} f}-\frac {3 a^{5/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{8 \sqrt {2} \sqrt {b} f}-\frac {a b (a \sin (e+f x))^{3/2}}{2 f \sqrt {b \sec (e+f x)}} \\ \end{align*}

Mathematica [A] (verified)

Time = 1.32 (sec) , antiderivative size = 157, normalized size of antiderivative = 0.38 \[ \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx=-\frac {a^2 \cot (e+f x) \sqrt {b \sec (e+f x)} \sqrt {a \sin (e+f x)} \left (4 \sin ^2(e+f x)-3 \sqrt {2} \arctan \left (\frac {-1+\sqrt {\tan ^2(e+f x)}}{\sqrt {2} \sqrt [4]{\tan ^2(e+f x)}}\right ) \sqrt [4]{\tan ^2(e+f x)}+3 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{\tan ^2(e+f x)}}{1+\sqrt {\tan ^2(e+f x)}}\right ) \sqrt [4]{\tan ^2(e+f x)}\right )}{8 f} \]

[In]

Integrate[Sqrt[b*Sec[e + f*x]]*(a*Sin[e + f*x])^(5/2),x]

[Out]

-1/8*(a^2*Cot[e + f*x]*Sqrt[b*Sec[e + f*x]]*Sqrt[a*Sin[e + f*x]]*(4*Sin[e + f*x]^2 - 3*Sqrt[2]*ArcTan[(-1 + Sq
rt[Tan[e + f*x]^2])/(Sqrt[2]*(Tan[e + f*x]^2)^(1/4))]*(Tan[e + f*x]^2)^(1/4) + 3*Sqrt[2]*ArcTanh[(Sqrt[2]*(Tan
[e + f*x]^2)^(1/4))/(1 + Sqrt[Tan[e + f*x]^2])]*(Tan[e + f*x]^2)^(1/4)))/f

Maple [A] (verified)

Time = 4.46 (sec) , antiderivative size = 447, normalized size of antiderivative = 1.08

method result size
default \(-\frac {\sqrt {2}\, \left (4 \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \sqrt {2}\, \sin \left (f x +e \right ) \cos \left (f x +e \right )+4 \sqrt {2}\, \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \sin \left (f x +e \right )+3 \ln \left (2 \sqrt {2}\, \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \cot \left (f x +e \right )+2 \sqrt {2}\, \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \csc \left (f x +e \right )+2-2 \cot \left (f x +e \right )\right )-6 \arctan \left (\frac {\sqrt {2}\, \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \sin \left (f x +e \right )-\cos \left (f x +e \right )+1}{\cos \left (f x +e \right )-1}\right )-6 \arctan \left (\frac {\sqrt {2}\, \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \sin \left (f x +e \right )+\cos \left (f x +e \right )-1}{\cos \left (f x +e \right )-1}\right )-3 \ln \left (-2 \sqrt {2}\, \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \cot \left (f x +e \right )-2 \sqrt {2}\, \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}\, \csc \left (f x +e \right )+2-2 \cot \left (f x +e \right )\right )\right ) \sqrt {a \sin \left (f x +e \right )}\, \sqrt {b \sec \left (f x +e \right )}\, a^{2} \cos \left (f x +e \right )}{16 f \left (\cos \left (f x +e \right )+1\right ) \sqrt {-\frac {\sin \left (f x +e \right ) \cos \left (f x +e \right )}{\left (\cos \left (f x +e \right )+1\right )^{2}}}}\) \(447\)

[In]

int((a*sin(f*x+e))^(5/2)*(b*sec(f*x+e))^(1/2),x,method=_RETURNVERBOSE)

[Out]

-1/16/f*2^(1/2)*(4*(-sin(f*x+e)*cos(f*x+e)/(cos(f*x+e)+1)^2)^(1/2)*2^(1/2)*sin(f*x+e)*cos(f*x+e)+4*2^(1/2)*(-s
in(f*x+e)*cos(f*x+e)/(cos(f*x+e)+1)^2)^(1/2)*sin(f*x+e)+3*ln(2*2^(1/2)*(-sin(f*x+e)*cos(f*x+e)/(cos(f*x+e)+1)^
2)^(1/2)*cot(f*x+e)+2*2^(1/2)*(-sin(f*x+e)*cos(f*x+e)/(cos(f*x+e)+1)^2)^(1/2)*csc(f*x+e)+2-2*cot(f*x+e))-6*arc
tan((2^(1/2)*(-sin(f*x+e)*cos(f*x+e)/(cos(f*x+e)+1)^2)^(1/2)*sin(f*x+e)-cos(f*x+e)+1)/(cos(f*x+e)-1))-6*arctan
((2^(1/2)*(-sin(f*x+e)*cos(f*x+e)/(cos(f*x+e)+1)^2)^(1/2)*sin(f*x+e)+cos(f*x+e)-1)/(cos(f*x+e)-1))-3*ln(-2*2^(
1/2)*(-sin(f*x+e)*cos(f*x+e)/(cos(f*x+e)+1)^2)^(1/2)*cot(f*x+e)-2*2^(1/2)*(-sin(f*x+e)*cos(f*x+e)/(cos(f*x+e)+
1)^2)^(1/2)*csc(f*x+e)+2-2*cot(f*x+e)))*(a*sin(f*x+e))^(1/2)*(b*sec(f*x+e))^(1/2)*a^2*cos(f*x+e)/(cos(f*x+e)+1
)/(-sin(f*x+e)*cos(f*x+e)/(cos(f*x+e)+1)^2)^(1/2)

Fricas [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.50 (sec) , antiderivative size = 1129, normalized size of antiderivative = 2.73 \[ \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx=\text {Too large to display} \]

[In]

integrate((a*sin(f*x+e))^(5/2)*(b*sec(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

-1/32*(16*sqrt(a*sin(f*x + e))*a^2*sqrt(b/cos(f*x + e))*cos(f*x + e)*sin(f*x + e) + 3*(-a^10*b^2/f^4)^(1/4)*f*
log(27/2*a^8*b^2*cos(f*x + e)*sin(f*x + e) + 27/2*((-a^10*b^2/f^4)^(1/4)*a^5*b*f*cos(f*x + e)*sin(f*x + e) - (
-a^10*b^2/f^4)^(3/4)*f^3*cos(f*x + e)^2)*sqrt(a*sin(f*x + e))*sqrt(b/cos(f*x + e)) - 27/4*sqrt(-a^10*b^2/f^4)*
(2*a^3*b*f^2*cos(f*x + e)^2 - a^3*b*f^2)) - 3*(-a^10*b^2/f^4)^(1/4)*f*log(27/2*a^8*b^2*cos(f*x + e)*sin(f*x +
e) - 27/2*((-a^10*b^2/f^4)^(1/4)*a^5*b*f*cos(f*x + e)*sin(f*x + e) - (-a^10*b^2/f^4)^(3/4)*f^3*cos(f*x + e)^2)
*sqrt(a*sin(f*x + e))*sqrt(b/cos(f*x + e)) - 27/4*sqrt(-a^10*b^2/f^4)*(2*a^3*b*f^2*cos(f*x + e)^2 - a^3*b*f^2)
) - 3*I*(-a^10*b^2/f^4)^(1/4)*f*log(27/2*a^8*b^2*cos(f*x + e)*sin(f*x + e) - 27/2*(I*(-a^10*b^2/f^4)^(1/4)*a^5
*b*f*cos(f*x + e)*sin(f*x + e) + I*(-a^10*b^2/f^4)^(3/4)*f^3*cos(f*x + e)^2)*sqrt(a*sin(f*x + e))*sqrt(b/cos(f
*x + e)) + 27/4*sqrt(-a^10*b^2/f^4)*(2*a^3*b*f^2*cos(f*x + e)^2 - a^3*b*f^2)) + 3*I*(-a^10*b^2/f^4)^(1/4)*f*lo
g(27/2*a^8*b^2*cos(f*x + e)*sin(f*x + e) - 27/2*(-I*(-a^10*b^2/f^4)^(1/4)*a^5*b*f*cos(f*x + e)*sin(f*x + e) -
I*(-a^10*b^2/f^4)^(3/4)*f^3*cos(f*x + e)^2)*sqrt(a*sin(f*x + e))*sqrt(b/cos(f*x + e)) + 27/4*sqrt(-a^10*b^2/f^
4)*(2*a^3*b*f^2*cos(f*x + e)^2 - a^3*b*f^2)) + 3*(-a^10*b^2/f^4)^(1/4)*f*log(27*a^8*b^2 + 54*((-a^10*b^2/f^4)^
(1/4)*a^5*b*f*cos(f*x + e)^2 - (-a^10*b^2/f^4)^(3/4)*f^3*cos(f*x + e)*sin(f*x + e))*sqrt(a*sin(f*x + e))*sqrt(
b/cos(f*x + e))) - 3*(-a^10*b^2/f^4)^(1/4)*f*log(27*a^8*b^2 - 54*((-a^10*b^2/f^4)^(1/4)*a^5*b*f*cos(f*x + e)^2
 - (-a^10*b^2/f^4)^(3/4)*f^3*cos(f*x + e)*sin(f*x + e))*sqrt(a*sin(f*x + e))*sqrt(b/cos(f*x + e))) - 3*I*(-a^1
0*b^2/f^4)^(1/4)*f*log(27*a^8*b^2 - 54*(I*(-a^10*b^2/f^4)^(1/4)*a^5*b*f*cos(f*x + e)^2 + I*(-a^10*b^2/f^4)^(3/
4)*f^3*cos(f*x + e)*sin(f*x + e))*sqrt(a*sin(f*x + e))*sqrt(b/cos(f*x + e))) + 3*I*(-a^10*b^2/f^4)^(1/4)*f*log
(27*a^8*b^2 - 54*(-I*(-a^10*b^2/f^4)^(1/4)*a^5*b*f*cos(f*x + e)^2 - I*(-a^10*b^2/f^4)^(3/4)*f^3*cos(f*x + e)*s
in(f*x + e))*sqrt(a*sin(f*x + e))*sqrt(b/cos(f*x + e))))/f

Sympy [F(-1)]

Timed out. \[ \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx=\text {Timed out} \]

[In]

integrate((a*sin(f*x+e))**(5/2)*(b*sec(f*x+e))**(1/2),x)

[Out]

Timed out

Maxima [F]

\[ \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx=\int { \sqrt {b \sec \left (f x + e\right )} \left (a \sin \left (f x + e\right )\right )^{\frac {5}{2}} \,d x } \]

[In]

integrate((a*sin(f*x+e))^(5/2)*(b*sec(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*sec(f*x + e))*(a*sin(f*x + e))^(5/2), x)

Giac [F]

\[ \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx=\int { \sqrt {b \sec \left (f x + e\right )} \left (a \sin \left (f x + e\right )\right )^{\frac {5}{2}} \,d x } \]

[In]

integrate((a*sin(f*x+e))^(5/2)*(b*sec(f*x+e))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*sec(f*x + e))*(a*sin(f*x + e))^(5/2), x)

Mupad [F(-1)]

Timed out. \[ \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx=\int {\left (a\,\sin \left (e+f\,x\right )\right )}^{5/2}\,\sqrt {\frac {b}{\cos \left (e+f\,x\right )}} \,d x \]

[In]

int((a*sin(e + f*x))^(5/2)*(b/cos(e + f*x))^(1/2),x)

[Out]

int((a*sin(e + f*x))^(5/2)*(b/cos(e + f*x))^(1/2), x)